﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Match.ascx.cs" Inherits="MyBet.Web.Controls.Match" ViewStateMode="Enabled" %>
<asp:UpdatePanel ID="EventReadonly" runat="server">
    <ContentTemplate>
        <table width="100%" style="height: 100%">
            <tr valign="top">
                <td width="90px" align="left">
                    <asp:Label  Font-Size="10pt" Font-Names="Trebuchet MS" ID="HomeTeamReadOnly" runat="server"></asp:Label>
                </td>
                <td width="10px" align="center">
                    <asp:Label  Font-Size="10pt" Font-Names="Trebuchet MS" ID="HomeScoreReadOnly" runat="server"></asp:Label>
                </td>
                <td width="10px" align="center">
                    <asp:Label  Font-Size="10pt" Font-Names="Trebuchet MS" ID="AwayScoreReadOnly" runat="server"></asp:Label>
                </td>
                <td width="90px" align="right">
                    <asp:Label  Font-Size="10pt" Font-Names="Trebuchet MS" ID="AwayTeamReadOnly" runat="server"></asp:Label>
                </td>
                <td>&nbsp;</td>
            </tr>
        </table>
    </ContentTemplate>
</asp:UpdatePanel>
<asp:UpdatePanel ID="EventEdit" runat="server" Visible="false">
<ContentTemplate>
        <table width="100%" style="height: 100%">
            <tr valign="top">
                <td width="85px" align="left" valign="middle">
                    <asp:Label  Font-Size="10pt" Font-Names="Trebuchet MS" ID="HomeTeamEdit" runat="server"></asp:Label>
                </td>
                <td width="45px" align="center">
                    <asp:DropDownList Font-Size="10pt" Font-Names="Trebuchet MS"  
                        ID="HomeScoreEdit" runat="server" Width="45px" 
                        onselectedindexchanged="HomeScoreEdit_SelectedIndexChanged" EnableViewState="true">
                        <asp:ListItem Text="" Value="-1"></asp:ListItem>
                        <asp:ListItem Text="0" Value="0"></asp:ListItem>
                        <asp:ListItem Text="1" Value="1"></asp:ListItem>
                        <asp:ListItem Text="2" Value="2"></asp:ListItem>
                        <asp:ListItem Text="3" Value="3"></asp:ListItem>
                        <asp:ListItem Text="4" Value="4"></asp:ListItem>
                        <asp:ListItem Text="5" Value="5"></asp:ListItem>
                        <asp:ListItem Text="6" Value="6"></asp:ListItem>
                        <asp:ListItem Text="7" Value="7"></asp:ListItem>
                        <asp:ListItem Text="8" Value="8"></asp:ListItem>
                        <asp:ListItem Text="9" Value="9"></asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td width="45px" align="center">
                    <asp:DropDownList Font-Size="10pt" Font-Names="Trebuchet MS" ID="AwayScoreEdit" 
                        runat="server" Width="45px" 
                        onselectedindexchanged="AwayScoreEdit_SelectedIndexChanged" EnableViewState="true">
                        <asp:ListItem Text="" Value="-1"></asp:ListItem>
                        <asp:ListItem Text="0" Value="0"></asp:ListItem>
                        <asp:ListItem Text="1" Value="1"></asp:ListItem>
                        <asp:ListItem Text="2" Value="2"></asp:ListItem>
                        <asp:ListItem Text="3" Value="3"></asp:ListItem>
                        <asp:ListItem Text="4" Value="4"></asp:ListItem>
                        <asp:ListItem Text="5" Value="5"></asp:ListItem>
                        <asp:ListItem Text="6" Value="6"></asp:ListItem>
                        <asp:ListItem Text="7" Value="7"></asp:ListItem>
                        <asp:ListItem Text="8" Value="8"></asp:ListItem>
                        <asp:ListItem Text="9" Value="9"></asp:ListItem> 
                    </asp:DropDownList>
                </td>
                <td width="85px" align="right" valign="middle">
                    <asp:Label  Font-Size="10pt" Font-Names="Trebuchet MS" ID="AwayTeamEdit" runat="server"></asp:Label>
                </td>
            </tr>
        </table>
</ContentTemplate>
</asp:UpdatePanel>
